package com.sanben.user.mapper;

import com.sanben.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sanben.user.data.vo.UserVo;
import com.sanben.user.data.req.UserReq;

/**
 * @author cyh
 * @description: 用户表实体类
 * @date: 2020-08-11
 */
public interface UserMapper extends BaseMapper<User> {
        /**
         * 列表分页
         * @param page
         * @param req
         * @return
         */
        List<UserVo> page(Page<UserVo> page,
@Param("req") UserReq req);
}
